<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page import="java.util.*" %>
<%@ page import="com.guanganren.db.entity.Catg" %>
<%@ taglib prefix="s" uri="/struts-tags"%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>广安人吃喝玩乐网 - 广安分类信息网</title>
<link href="./css/top.css" rel="stylesheet" type="text/css" />
<link href="./css/list_pic.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="。/js/jquery-1.4.2.min.js"></script>

<script type="text/javascript">
	$(document)
			.ready(
					function() {
						$("#keyword1").val($("#hf_keyword").val());
						$("#searchbtn1")
								.click(
										function() {
											//alert($("#keyword1").val()!=null&&$("#keyword1").val()!="");
											if ($("#keyword1").val() != null
													&& $("#keyword1").val() != "") {
												if ($("#keyword1").val() != $(
														"#hf_keyword").val()) {
													//alert($("#keyword1").val());
													location.href = "http://bj.fenlei168.com/sou/sou_"
															+ encodeURIComponent($(
																	"#keyword1")
																	.val())
															+ "/";
												} else {
													//alert($("#keyword1").val()!=$("#hf_keyword").val());
													return false;
												}

											} else {
												return false;
											}
										})
					})
</script>

<style type="text/css">
/*大类页*/
.bigclass_lei {
	float: left;
	width: 293px;
	margin: 20px 50px 15px 0px;
}

.bigclass_l_t {
	width: 100%;
	border-bottom: solid 1px #DDDDDD;
	font-size: 14px;
	font-weight: 700;
	line-height: 26px;
}

.bigclass_l_t a {
	color: #0066CC;
	text-decoration: none;
	cursor: pointer;
}

.bigclass_l_t a:hover {
	color: #E21912;
	text-decoration: underline;
}

.bigclass_lei ul {
	width: 100%;
	font-size: 12px;
	line-height: 25px;
}

.bigclass_lei ul li {
	float: left;
	white-space: nowrap;
}

.bigclass_lei ul li a {
	color: #666666;
	text-decoration: none;
	cursor: pointer;
}

.bigclass_lei ul li a:hover {
	color: #E21912;
	text-decoration: underline;
}

.bigclass_lei ul li span {
	color: #E8DDE8;
	padding-left: 8px;
	padding-right: 8px;
}

.big_fenge {
	width: 100%;
	height: 1px;
	float: left;
}

.big_remencity_lei {
	border-top: solid 1px #DDDDDD;
	padding: 10px 0px;
	width: 1000px;
	margin: 0 auto;
	padding: 0 auto;
}

.big_remencity_lei li {
	width: 160px;
	float: left;
	line-height: 25px;
}

.big_remencity_lei a {
	color: #666666;
	text-decoration: none;
	cursor: pointer;
}

.big_remencity_lei a:hover {
	color: #E21912;
	text-decoration: underline;
}

.logo a {
	width: 150px;
	height: 74px;
	display: block;
	text-indent: -30em;
}
</style>
<meta name="description"
	content="北京吃喝玩乐网为您提供北京吃喝玩乐信息,包括:北京餐厅信息,北京酒吧信息,北京KTV信息,北京咖啡馆信息,北京旅游景点等,你还可以免费发布、查询北京吃喝玩乐信息." />
<meta name="keywords" content="北京吃喝玩乐网" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<%@ include file="/pages/top.jsp" %>
	<div class="clear"></div>
	<div id="h">
		<div id="header">
			<div class="logo">
				<a href="/">分类0826</a>
			</div>
			<div class="h_right">
				<span class="nav"><a href=""
					class="bgnone">广安人吃喝玩乐</a><a href="">首页</a></span><span
					id="search" style="clear: left"><input type="text"
					class="keyword" id="keyword1" /><span class="sbtn"><input
						type="submit" id="searchbtn1" class="atcate" value=" 搜 索 " /></span></span>
				<div id="auto_div">
					<div id="auto_div_border" style="display: none; width: 234px;"></div>
				</div>
			</div>
		</div>
	</div>
	<div class="clear"></div>
	
	<div id="bigclass" style="margin: 0 auto; padding: 0 auto; width: 1000px">
		<c:forEach items="${catgMap['0']}" var="item" varStatus="statu">
		
		<div class="bigclass_lei" <c:if test="${statu.count%3 == 0}"> style="margin-right: 0px;" </c:if> >
			
			<c:set value="${item.catgId}" var="parentId" scope="request"></c:set>
			
			<% 
			String parentId = request.getAttribute("parentId").toString();
			HashMap map = (HashMap)request.getAttribute("catgMap");
			ArrayList list= (ArrayList)map.get(parentId);;
			if(list!=null){
			%>
			<div class="bigclass_l_t">
				<a href="<%=request.getContextPath()%>/catg/list.do?id=${item.catgId}"><c:out value="${item.catgName}"/> </a>
			</div>
			<%
			 for(int i=0;i<list.size();i++){
					Catg catg = (Catg)list.get(i);
			%>
			
			<ul>
				<li><a href="<%=request.getContextPath()%>/catg/list.do?id=<%=catg.getCatgId()%>"><%=catg.getCatgName() %></a><span>|</span></li>
			</ul>
			<%}
			}else if(list==null){
			 %>
			 <div class="bigclass_l_t" style="border-bottom: 0px;">
				<a href="<%=request.getContextPath()%>/catg/list.do?id=${item.catgId}"><c:out value="${item.catgName}"/> </a>
			</div>
			<%} %>
		</div>
		<c:if test="${statu.count%3 == 0}"> 
		<div class="big_fenge"></div>
		</c:if>
			
		</c:forEach>
	</div>	
	<div class="clear"></div>
	<ul class="big_remencity_lei">
		<li><a href="http://bj.fenlei168.com/b_chihe/">北京吃喝玩乐</a></li>
		<li><a href="http://heb.fenlei168.com/b_chihe/">哈尔滨吃喝玩乐</a></li>
		<li><a href="http://sh.fenlei168.com/b_chihe/">上海吃喝玩乐</a></li>
		<li><a href="http://gz.fenlei168.com/b_chihe/">广州吃喝玩乐</a></li>
		<li><a href="http://xa.fenlei168.com/b_chihe/">西安吃喝玩乐</a></li>
		<li><a href="http://wh.fenlei168.com/b_chihe/">武汉吃喝玩乐</a></li>
		<li><a href="http://sz.fenlei168.com/b_chihe/">深圳吃喝玩乐</a></li>
		<li><a href="http://dl.fenlei168.com/b_chihe/">大连吃喝玩乐</a></li>
		<li><a href="http://cs.fenlei168.com/b_chihe/">长沙吃喝玩乐</a></li>
		<li><a href="http://cq.fenlei168.com/b_chihe/">重庆吃喝玩乐</a></li>
		<li><a href="http://zz.fenlei168.com/b_chihe/">郑州吃喝玩乐</a></li>
		<li><a href="http://jn.fenlei168.com/b_chihe/">济南吃喝玩乐</a></li>
		<li><a href="http://nj.fenlei168.com/b_chihe/">南京吃喝玩乐</a></li>
		<li><a href="http://hz.fenlei168.com/b_chihe/">杭州吃喝玩乐</a></li>
	</ul>
	<div class="clear"></div>
	<div class="big_remencity_lei" style="color: #666666">
		热门城市：<a href="http://bj.fenlei168.com">北京</a>&nbsp;&nbsp;<a
			href="http://heb.fenlei168.com">哈尔滨</a>&nbsp;&nbsp;<a
			href="http://sh.fenlei168.com">上海</a>&nbsp;&nbsp;<a
			href="http://gz.fenlei168.com">广州</a>&nbsp;&nbsp;<a
			href="http://xa.fenlei168.com">西安</a>&nbsp;&nbsp;<a
			href="http://wh.fenlei168.com">武汉</a>&nbsp;&nbsp;<a
			href="http://sz.fenlei168.com">深圳</a>&nbsp;&nbsp;<a
			href="http://dl.fenlei168.com">大连</a>&nbsp;&nbsp;<a
			href="http://cs.fenlei168.com">长沙</a>&nbsp;&nbsp;<a
			href="http://cq.fenlei168.com">重庆</a>&nbsp;&nbsp;<a
			href="http://zz.fenlei168.com">郑州</a>&nbsp;&nbsp;<a
			href="http://jn.fenlei168.com">济南</a>&nbsp;&nbsp;<a
			href="http://nj.fenlei168.com">南京</a>&nbsp;&nbsp;<a
			href="http://hz.fenlei168.com">杭州</a>&nbsp;&nbsp;
	</div>
	<div class="clear"></div>

	<div id="foot">
		<div id="footer">
			<a href="http://user.fenlei168.com/about/help.aspx?action=contact">联系我们</a><a
				class="del"
				href="http://user.fenlei168.com/about/help.aspx?action=del-menu">我要删除信息</a><span
				class="gap">|</span><a
				href="http://user.fenlei168.com/about/help.aspx">关于我们</a><span
				class="gap">|</span><a href="http://user.fenlei168.com">推广服务</a><span
				class="gap">|</span><a
				href="http://user.fenlei168.com/about/help.aspx?action=Advertising">广告合作</a><span
				class="gap">|</span><a
				href="http://user.fenlei168.com/about/help.aspx?action=Statement">公司声明</a><br />fenlei168.com
			<script
				src="http://s122.cnzz.com/stat.php?id=1325350&web_id=1325350&show=pic1"
				language="JavaScript" charset="gb2312" /></script>
			<script src="http://s70.cnzz.com/stat.php?id=1827346&web_id=1827346"
				language="JavaScript" charset="gb2312" /></script>
		</div>
	</div>
	<script type="text/javascript" src="/gg.aspx?type=lr"></script>
</body>
</html>